package com.plian.Tools;

import com.plian.Tools.pagedata.PageData;

import java.util.List;

/**
 * 树类型实体类
 */
public class Tree {
    private String id;// 主键
    private String name;// 值名
    private String label;// 值名
    private String parentId;// 父级ID
    private String code;
    private String isParent;
    private List<Tree> children;
    private String valIndustryCode;
    private String yesOrNo;
    private PageData pageData;
    private Integer level;
    private Short color;
    private Boolean isMerge;

    public Short getColor() {
        return color;
    }

    public void setColor(Short color) {
        this.color = color;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String Name) {
        name = Name;
    }

    public String getLabel() {
        return name;
    }

    public void setLabel(String label) {
        name = label;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String ParentId) {
        parentId = ParentId;
    }

    public String getIsParent() {
        return isParent;
    }

    public Boolean getIsMerge() {
        return isMerge;
    }

    public void setIsMerge(Boolean isMerge) {
        this.isMerge = isMerge;
    }

    public void setIsParent(String IsParent) {
        this.isParent = IsParent;
    }

    public List<Tree> getChildren() {
        return children;
    }

    public void setChildren(List<Tree> children) {
        this.children = children;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String Code) {
        code = Code;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getValIndustryCode() {
        return valIndustryCode;
    }

    public void setValIndustryCode(String ValIndustryCode) {
        valIndustryCode = ValIndustryCode;
    }

    public String getYesOrNo() {
        return yesOrNo;
    }

    public void setYesOrNo(String YesOrNo) {
        yesOrNo = YesOrNo;
    }

    public PageData getPageData() {
        return pageData;
    }

    public void setPageData(PageData PageData) {
         pageData= PageData;
    }
}
